package com.greenlife.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.greenlife.dao.UserMapper;
import com.greenlife.model.User;
import com.greenlife.service.UserService;

@Service("userService")
public class UserServiceImpl implements UserService {

	@Autowired
	private UserMapper userMapper;

	public User selectUser(User user) {
		User result = userMapper.selectListByParam(user);
		return result;
	}

}
